import java.util.Scanner;

public class ArraySummation {
    public static void main(String[] args) {
        int n = 0;
        Scanner in = new Scanner(System.in);
        n = in.nextInt();
        double[] a = new double[n];
        double sum = 0.0;
        for(int i = 0; i < n; i++)
        {
            a[i] = in.nextDouble();
            sum+=a[i];
        }
        System.out.println(sum);
    }


}
